package com.seng.resourcetycoon.gui.models;

import com.seng.resourcetycoon.core.enums.ResourceType;

import java.math.BigDecimal;

// 可能需要定义一个辅助类来持有这些预生成的属性
public class ResourceAttributes {
    ResourceType resourceType;
    BigDecimal baseCost;
    private final String name;
    double resourceAmountBase;
    double reloadSpeedBase;

    public ResourceAttributes(String name,ResourceType resourceType, BigDecimal baseCost, int resourceAmountBase, double reloadSpeedBase) {
        this.name = name;
        this.resourceType = resourceType;
        this.baseCost = baseCost;
        this.resourceAmountBase = resourceAmountBase;
        this.reloadSpeedBase = reloadSpeedBase;
    }

    public ResourceType getResourceType() {
        return resourceType;
    }

    public BigDecimal getBaseCost() {
        return baseCost;
    }

    public double getResourceAmountBase() {
        return resourceAmountBase;
    }

    public double getReloadSpeedBase() {
        return reloadSpeedBase;
    }

    public String getName() {
        return this.name;
    }
}